/*
 * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#pragma once

#ifndef _RGB_WS2812B_H
#define _RGB_WS2812B_H

#include "sdkconfig.h"
#include "driver/gpio.h"

/* Can use project configuration menu (idf.py menuconfig) to choose the GPIO to blink,
   or you can edit the following line and set a number here.
*/

// gpio 8 作为led的的控制引脚
#define WS2812B_GPIO  GPIO_NUM_3

void rgb_ws2812_init(void);
void rgb_ws2812_on(void);
void rgb_ws2812_off(void);

#endif


